home *** CD-ROM | disk | FTP | other *** search
- .key old/A,new/A,patch/A,a4,a5,a6,a7,a8,a9,a10
- .bra {
- .ket }
-
- ; $VER: GCompareAdd 2.6 (18.11.98)
-
- ; This script adds the patch data for a new version of a file ("new") to
- ; the patch file ("patch"). The old file ("old") must be the oldest version
- ; of the file. You have only to archive this version and can build all other
- ; versions from it.
-
- if exists {patch}
-
- ; build last version
- GPatch "{old}" "{patch}" T:previousversion{$$} recursive
-
- ; add new version
- GCompare T:previousversion{$$} "{new}" "{patch}" {a4} {a5} {a6} {a7} {a8} {a9} {a10}
-
- delete >nil: T:previousversion{$$}
- else
-
- ; create patchfile (first usage)
- GCompare "{old}" "{new}" "{patch}" {a4} {a5} {a6} {a7} {a8} {a9} {a10}
-
- endif
-
-